]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: Make base icon size font-relative
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 12 Feb 2020 18:46:44 +0000 (19:46 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 12 Feb 2020 18:48:58 +0000 (19:48 +0100)
Most icons are used along-side text, like the top bar or menus.
It therefore makes sense for them to adjust along-side the text
when the text-scaling changes.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/995

data/theme/gnome-shell-sass/_common.scss

index 197b4fcb9580d7f5d92f6ec171a856721e4a9808..d64809762afd23380d01c49fa480daef0c6ad19e 100644 (file)
@@ -54,8 +54,8 @@ $base_font_size: 11;
 $text_shadow_color: if($variant == 'light', rgba(255,255,255,0.3), rgba(0,0,0,0.2));
 
 // icons
-// $base_icon_size: 1.09em;
-$base_icon_size: 16px;
+$base_icon_size: 1.09em;
+// $base_icon_size: 16px;
 
 // Stage
 stage {